package com.quanyan.runningriding.mapper;

import com.quanyan.runningriding.entity.db.TbRunVideoLibrary;
import com.quanyan.runningriding.entity.db.TbRunVideoLibraryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbRunVideoLibraryMapper {
    int countByExample(TbRunVideoLibraryExample example);

    int deleteByExample(TbRunVideoLibraryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbRunVideoLibrary record);

    int insertSelective(TbRunVideoLibrary record);

    List<TbRunVideoLibrary> selectByExample(TbRunVideoLibraryExample example);

    TbRunVideoLibrary selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbRunVideoLibrary record, @Param("example") TbRunVideoLibraryExample example);

    int updateByExample(@Param("record") TbRunVideoLibrary record, @Param("example") TbRunVideoLibraryExample example);

    int updateByPrimaryKeySelective(TbRunVideoLibrary record);

    int updateByPrimaryKey(TbRunVideoLibrary record);
}